﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReferencedAssemblies="System.dll&#13;&#10;System.Core.dll&#13;&#10;System.Drawing.dll&#13;&#10;System.Windows.Forms.dll&#13;&#10;System.Data.dll&#13;&#10;System.Xml.dll&#13;&#10;Sungero.Domain.Shared&#13;&#10;Sungero.CoreEntities.Shared&#13;&#10;Sungero.Reporting.Shared&#13;&#10;CommonLibrary&#13;&#10;Sungero.Content&#13;&#10;Sungero.Domain&#13;&#10;Sungero.Content.Shared&#13;&#10;Sungero.Domain.Interfaces&#13;&#10;Sungero.Workflow.Interfaces&#13;&#10;Sungero.Docflow.Shared&#13;&#10;Sungero.Docflow.Server&#13;&#10;Sungero.Workflow.Server&#13;&#10;Sungero.Workflow.Shared&#13;&#10;Sungero.RecordManagement.Shared&#13;&#10;Sungero.RecordManagement.Server&#13;&#10;Sungero.CoreEntities.Server&#13;&#10;Sungero.Company.Shared&#13;&#10;Sungero.Company.Server" ReportInfo.CreatorVersion="2020.2.12.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
using Sungero.Docflow;
using Sungero.RecordManagement;
using Sungero.Company;
using Sungero.Domain.Shared;
using Sungero.CoreEntities;
using Sungero.Core;
using Resources = Sungero.RecordManagement.Reports.Resources;


namespace FastReport
{
  public class ReportScript
  {
  }
}
  </ScriptText>
  <Dictionary>
    <SungeroSqlDataConnection Name="Sungero_Connection" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties" ConnectionStringExpression="[SungeroConnectionString]">
      <TableDataSource Name="Table" Alias="SourceTable" DataType="System.Int32" Enabled="true" CanEdit="true" SelectCommand="${SelectDataFromTable}">
        <Column Name="TaskDisplayName" DataType="System.String" PropName="Column"/>
        <Column Name="TaskId" DataType="System.Int32" PropName="Column"/>
        <Column Name="TaskHyperlink" DataType="System.String" PropName="Column"/>
        <Column Name="RowNumber" DataType="System.Int32" PropName="Column"/>
        <Column Name="ShortName" DataType="System.String" PropName="Column"/>
        <Column Name="JobTitle" DataType="System.String" PropName="Column"/>
        <Column Name="Department" DataType="System.String" PropName="Column"/>
        <Column Name="AcquaintanceDate" DataType="System.String" PropName="Column"/>
        <Column Name="State" DataType="System.String" PropName="Column"/>
        <Column Name="Note" DataType="System.String" PropName="Column"/>
        <Column Name="AssignmentId" DataType="System.String" PropName="Column"/>
        <Column Name="AssignmentHyperlink" DataType="System.String" PropName="Column"/>
        <Column Name="LastName" DataType="System.String" PropName="Column"/>
        <CommandParameter Name="ReportSessionId" DataType="16" IsDbType="true" Expression="[ReportSessionId]"/>
      </TableDataSource>
    </SungeroSqlDataConnection>
    <SungeroParameter Name="SungeroConnectionString" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties, DontShow" Id="c833930b-921b-410b-9c94-a96c14475cba" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="Document" Id="1397ba6e-64b8-49dc-bae5-26550d733eff" IsRequired="false" IsCollection="false" InternalDataType="Sungero.Docflow.IOfficialDocument, Sungero.Domain.Interfaces" IsSimpleDataType="false" EntityTypeId="58cca102-1e97-4f07-b6ac-fd866a8b7cb1"/>
    <SungeroParameter Name="ReportSessionId" Id="04273331-eb75-4699-8bb4-e5a816775960" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="Task" Id="b4f28a8f-aeb1-495a-b534-ef80351d2231" IsRequired="false" IsCollection="false" InternalDataType="Sungero.RecordManagement.IAcquaintanceTask, Sungero.Domain.Interfaces" IsSimpleDataType="false" EntityTypeId="2d53959b-2cee-41f7-83c2-98ae1dbbd538"/>
    <SungeroParameter Name="DocumentName" Id="b1ec3039-c317-4461-987d-9d88f3cbdd0f" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="DocumentVersion" Id="f8c7579a-6b0b-48b3-8b6a-5cedb11329d4" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="AddendaDescription" Id="7dcfb1c9-1543-47e9-8a3d-a8c1a4db0a28" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="DocumentHyperlink" Id="369c9dd0-ee96-48ce-832d-c486f3d9ee3f" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="Printed" Id="4614b726-0571-4584-a267-2c0a142feafc" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="Department" Id="fe7ea2fb-7bdf-4c9e-a8fe-06e42420b630" IsRequired="false" IsCollection="false" InternalDataType="Sungero.Company.IDepartment, Sungero.Domain.Interfaces" IsSimpleDataType="false" EntityTypeId="61b1c19f-26e2-49a5-b3d3-0d3618151e12"/>
    <SungeroParameter Name="EmployeesAcquaintanceStatus" Id="d60f54d6-b2ae-4220-b9b0-7d5f0e6b24a1" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="SignValidationErrors" Id="a7ced383-10db-48df-b9d1-bd4707c5b804" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="IncludeSubDepartments" Id="6b66c048-4c54-4b46-a090-93cdec97c83d" IsRequired="false" IsCollection="false" InternalDataType="System.Boolean" IsSimpleDataType="true" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
  </Dictionary>
  <ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="20" FirstPageSource="15" OtherPagesSource="15" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="1009.26" Height="179.55" CanGrow="true" CanShrink="true" CanBreak="true" Guides="179.55">
      <TextObject Name="Text2" Width="1011.15" Height="37.8" Text="[Resources.AcquaintanceReport.AcquaintanceReportName]" HorzAlign="Center" VertAlign="Center" Font="Arial, 14pt"/>
      <TextObject Name="Text4" Left="94.5" Top="43.47" Width="859.95" Height="18.9" Hyperlink.Expression="[DocumentHyperlink]" CanGrow="true" CanBreak="false" Text="[DocumentName]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt" TextRenderType="HtmlTags"/>
      <TextObject Name="Text22" Top="170.1" Width="1048.95" Height="9.45" CanBreak="false" Text="    " Font="Arial, 10pt"/>
      <TextObject Name="Text3" Top="113.4" Width="1048.95" Height="56.7" CanGrow="true" CanShrink="true" Text="[AddendaDescription]" Font="Arial, 10pt"/>
      <TextObject Name="Text25" Top="85.05" Width="1048.95" Height="18.9" CanGrow="true" CanShrink="true" Text="[SignValidationErrors]" Font="Arial, 10pt" TextFill.Color="Red"/>
    </ReportTitleBand>
    <GroupHeaderBand Name="GroupHeader1" Top="234.8" Width="1009.26" Height="28.35" KeepWithData="true" Condition="[SourceTable.TaskId]">
      <TextObject Name="Text21" Width="1048.95" Height="28.35" Border.Lines="All" Fill.Color="WhiteSmoke" Hyperlink.Expression="[SourceTable.TaskHyperlink]" CanGrow="true" Text="[SourceTable.TaskDisplayName] ([Sungero.Docflow.Resources.Id]: &lt;font color=&quot;blue&quot;&gt;&lt;u&gt;[SourceTable.TaskId]&lt;/u&gt;&lt;/font&gt;)" VertAlign="Center" Font="Arial, 10pt" TextRenderType="HtmlTags"/>
      <DataHeaderBand Name="DataHeader1" Top="183.55" Width="1009.26" Height="47.25" KeepWithData="true" RepeatOnEveryPage="true">
        <TextObject Name="Text5" Width="37.8" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.RowNumber]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text6" Left="37.8" Width="170.1" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.EmployeesName]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text7" Left="207.9" Width="141.75" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.JobTitle]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text8" Left="349.65" Width="141.75" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.Department]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text9" Left="491.4" Width="132.3" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.AcquaintanceDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text10" Left="623.7" Width="94.5" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.State]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text11" Left="718.2" Width="207.9" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.Note]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text12" Left="926.1" Width="122.85" Height="47.25" Border.Lines="All" Fill.Color="Gainsboro" CanBreak="false" Text="[Resources.AcquaintanceReport.AssignmentId]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
      </DataHeaderBand>
      <DataBand Name="Data1" Top="267.15" Width="1009.26" Height="37.8" CanGrow="true" DataSource="Table">
        <TextObject Name="Text13" Width="37.8" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[Row#]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text14" Left="37.8" Width="170.1" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.ShortName]" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text15" Left="207.9" Width="141.75" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.JobTitle]" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text16" Left="349.65" Width="141.75" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.Department]" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text17" Left="491.4" Width="132.3" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.AcquaintanceDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text18" Left="623.7" Width="94.5" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.State]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text19" Left="718.2" Width="207.9" Height="37.8" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SourceTable.Note]" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Text20" Left="926.1" Width="122.85" Height="37.8" Border.Lines="All" Cursor="Hand" Hyperlink.Expression="[SourceTable.AssignmentHyperlink]" CanGrow="true" GrowToBottom="true" Text="[SourceTable.AssignmentId]" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Underline" TextFill.Color="Blue"/>
        <Sort>
          <Sort Expression="[SourceTable.LastName]"/>
          <Sort Expression="[SourceTable.ShortName]"/>
          <Sort Expression="[SourceTable.Department]"/>
        </Sort>
      </DataBand>
    </GroupHeaderBand>
    <ReportSummaryBand Name="ReportSummary1" Top="308.95" Width="1009.26" Height="56.7">
      <TextObject Name="Text23" Left="9.45" Top="37.8" Width="529.2" Height="18.9" CanBreak="false" Text="[Printed]" Font="Arial, 10pt"/>
      <TextObject Name="Text24" Width="1048.95" Height="37.8" CanBreak="false" Text="      " Font="Arial, 10pt"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter1" Top="369.65" Width="1009.26" Height="18.9" CanShrink="true" CanBreak="true" Guides="18.9">
      <TextObject Name="Text1" Left="878.85" Width="132.3" Height="18.9" Anchor="Bottom, Left" CanShrink="true" Text="[Sungero.Docflow.Resources.PageShort] [Page#] [Sungero.Docflow.Resources.PageOf] [TotalPages#]" HorzAlign="Right" Font="Arial, 8pt"/>
    </PageFooterBand>
  </ReportPage>
</Report>
